package b面向对象.day1.demo1;
/*User
    name
    age
    height
*
* */
public class Test1 {
    public static void main(String[] args) {
        int[]arr={1,2,3};
        Car c=new Car();
        c.speed=100;
        c.color="红色";
        System.out.println(c.speed);
        System.out.println(c.color);
        c.driver();

        Car c2=new Car();
        System.out.println("c2的颜色："+c2.color);
        c2.driver();
        System.out.println(c == c2);

    }
}
